<include file="./Tpl/Admin/header.html" />
<div class="main">
	<div class="main_title">
		<img src="/Public/Admin/images/book1.gif"/>&nbsp;&nbsp;管理员信息设置</eq>
	</div>
	<eq name="module" value="list">
	    <div class="list_body">
			<table cellspacing=0 cellpadding=0 border=0>
				<tr>
				   <th width="25%">登录名</th><th width="50%">权限</th><th width="10%">操作</th>
				</tr>
				<volist name="list" id="vo">
				<tr>
				   <td>{$vo.username|default='无'}</td><td>{$vo.catename|default='无'}</td><td><a href="?s=Admin/Admin/set/id/{$vo.id}">修改</a></td>
				</tr>
				</volist>
				<tr><td colspan=4><input type="button" value="添加" class="btn" onclick="javascript:location.href='/?s=Admin/Admin/add'"/></td></tr>
			</table>
		</div>
	<else/>
	<div class="main_body">
		<form action="?s=Admin/Admin/update" method="post">
		<input type="hidden" name="id" value="{$id}"/>
		<table cellspacing=0 cellpadding=0 border=0>
		<tr><td>权限</td><td>
            <select name="cate">
			    <option value="0" <eq name="cate" value="0">selected</eq>>超级管理员</option>
				<option value="1" <eq name="cate" value="1">selected</eq>>文章管理员</option>
				<option value="2" <eq name="cate" value="2">selected</eq>>币种管理员</option>
			</select>
        </td></tr>
		<tr><td>登录名</td><td><input type="text" name="username" value="{$username}"/></td></tr>
		<tr><td>密码</td><td><input type="text" name="password"/></td></tr>
		</table>
		<div><input type="submit" value="提交"/></div>
		</form>
	</div>
	</eq>
</div>
<include file="./Tpl/Admin/footer.html" />